package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 硬件配置对象 hard_ware_config
 *
 * @author ruoyi
 * @date 2023-03-26
 */
public class HardWareConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 硬件名称
     */
    @Excel(name = "硬件名称")
    private String hardWareName;

    /**
     * 硬件编码
     */
    @Excel(name = "硬件编码")
    private String hardWareCode;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setHardWareName(String hardWareName) {
        this.hardWareName = hardWareName;
    }

    public String getHardWareName() {
        return hardWareName;
    }

    public void setHardWareCode(String hardWareCode) {
        this.hardWareCode = hardWareCode;
    }

    public String getHardWareCode() {
        return hardWareCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("hardWareName", getHardWareName())
                .append("hardWareCode", getHardWareCode())
                .toString();
    }
}
